package com.eml.service.entity;

import java.util.Date;

public class Notice {
    private Integer id;

    private String title;

    private Date time;

    private String connect;

    private Integer isDeleted;

    public Notice() {
    }

    public Notice(Integer id, String title, Date time, String connect, Integer isDeleted) {
        this.id = id;
        this.title = title;
        this.time = time;
        this.connect = connect;
        this.isDeleted = isDeleted;
    }

    public Notice(String title, Date time, String connect, Integer isDeleted) {
        this.title = title;
        this.time = time;
        this.connect = connect;
        this.isDeleted = isDeleted;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public String getConnect() {
        return connect;
    }

    public void setConnect(String connect) {
        this.connect = connect;
    }

    public Integer getIsDeleted() {
        return isDeleted;
    }

    public void setIsDeleted(Integer isDeleted) {
        this.isDeleted = isDeleted;
    }

    @Override
    public String toString() {
        return "Notice{" +
                "id=" + id +
                ", title='" + title + '\'' +
                ", time=" + time +
                ", connect='" + connect + '\'' +
                ", isDeleted=" + isDeleted +
                '}';
    }
}
